package models

import (
	"gitee.com/sansaniot/ssiot-core/httpmvc/model"

	"ssdevice/common/dto"
)

type SysHistorySensor struct {
	ID         *int64        `json:"id"`
	DevSn      string        `json:"devSn"`
	Key        string        `json:"key"`
	Value      string        `json:"value"`
	UpdateTime dto.LocalTime `json:"updateTime"`

	model.Model
}

func (SysHistorySensor) TableName() string {
	return "sys_history_sensor"
}

func (e *SysHistorySensor) Generate() interface{} {
	o := *e
	return &o
}
